#ifndef SRREGISTERWIDGET_H
#define SRREGISTERWIDGET_H

#include <QWidget>


class QLineEdit;
class QPushButton;
class QLabel;

class SRRegisterWidget : public QWidget
{
    Q_OBJECT
public:
    explicit SRRegisterWidget(QWidget *parent = 0);
    ~SRRegisterWidget(void);

    void setRegisterMode(int _mode);
Q_SIGNALS:
    void sigRegister(const QString &,
                     const QString &,
                     const QString &);

public Q_SLOTS:

protected:
    virtual void keyPressEvent(QKeyEvent *event);
private:
    QLabel* labLogoTitle_;

    QLineEdit* editName_;
    QLineEdit* editUser_;
    QLineEdit* editPswd_;
    QLineEdit* editConfirmPswd_;
    QPushButton* btnRegister_;

};

#endif // SRREGISTERWIDGET_H
